<?php

class ElenentHasNoName extends Exception {
	public function __construct(){
		$message="Element must have name";
		parent::__construct($message,0x000001);
		echo $message;
	}
}

?>